import $service from '../../../../service'
const app = getApp();
Page({
  data: {
    arr: [],
    triggered: false,
  },
  onLoad() {
    this.getAcquireReportList();
  },  
  getAcquireReportList() {
    app.http.getAcquireReportList().then(res => {
      console.log(res)
      this.setData({
        arr: res.data
      })
    }).catch(err => {
      $service.showToast(err.msg)
    })
  },
  toDetail(e) {
    let {id} = e.currentTarget.dataset
    $service.openPage('/pages/user_side/physique_test/toning_solutions/index?requestId=' + id)
  }
})